package com.example.dianchiwater;

import androidx.appcompat.app.AppCompatActivity;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;

public class Grzx extends AppCompatActivity {
    Button btXg;
    TextView tvFh,tvFw;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_grzx);

        btXg = findViewById(R.id.btXg);
        tvFw = findViewById(R.id.tvFw);
        tvFh=findViewById(R.id.tvFh);
        tvFh.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent i =new Intent(Grzx.this,YinDaoYe.class);
                startActivity(i);
                finish();
            }
        });

        btXg.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent i = new Intent(Grzx.this,XiuGai.class);
                startActivity(i);
            }
        });
        tvFw.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent i =new Intent(Grzx.this,web_view_gw.class);
                startActivity(i);
            }
        });
    }
}